import axios from 'axios';

let util = {

};

const ajaxUrl = 'http://localhost:18081/resa'

util.ajax = function(target){
	return axios.create({
	    baseURL: null === target? ajaxUrl:target,
	    timeout: 600000,
		headers: {
			'Content-Type': 'application/x-www-form-urlencoded'
		}
	})
};

export default util;